-define(XMLSchemaURI,'http://www.w3.org/2001/XMLSchema').

-record(soap_message,{id,parts}).

-record(soap_type,{id,definition}).

-record(soap_operation,{operation,input,output,faults}).

%% binding = {Namespace(),Name()}
%% style = atom() = rpc | document
%% transport = Namespace()
%% operation_bindings=[#soap_operation_binding()]
%% 
%% Namespace = atom()
%% Name = string()
-record(soap_binding,{binding_name,style,transport,operation_bindings}).

%% operation_name = string()
%% action = string()
%% input_binding = #soap_message_binding()
%% output_binding = #soap_message_binding()
%% fault_binding = [#soap_message_binding()]
-record(soap_operation_binding,{operation_name,action,input_binding,output_binding,fault_bindings}).

%% type = {fault,{Namespace(),Name()} | input | output
%% encoding_style = atom()
%% namespace = atom()
%% use = atom() = encoded | literal
-record(soap_message_binding,{type,encoding_style,namespace,use}).
